package com.lt.lumentracks.service;

import com.lt.lumentracks.entity.po.Topic;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lt.lumentracks.entity.vo.common.PageVO;

import java.util.List;

/**
 * <p>
 * 热门话题表 服务类
 * </p>
 *
 * @author swl
 * @since 2025-07-23
 */
public interface ITopicService extends IService<Topic> {

    // 分页获取所有话题
    PageVO<Topic> getAllTopicByPage(long current, long size);

    // 根据传入的话题id进行查询
    List<Topic> getTopicByIds(List<Integer> ids);

}
